/*
 * @Description: 表单校验规则
 * @Author: chenju
 * @Date: 2022-03-22 17:46:03
 * @LastEditors: qingyang
 * @LastEditTime: 2022-05-23 10:26:11
 */

export const rules = {
  gwpCode: [
    {
      required: true,
      message: '请选择GWP版本名称',
      trigger: ['submit', 'change']
    }
  ],
  coGwp: [
    {
      required: true,
      message: '请输入CO₂气体GWP值',
      trigger: ['submit', 'change']
    }
  ],
  chGwp: [
    {
      required: true,
      message: '请输入CH₄气体GWP值',
      trigger: ['submit', 'change']
    }
  ],
  noGwp: [
    {
      required: true,
      message: '请输入N₂O气体GWP值',
      trigger: ['submit', 'change']
    }
  ],
  sfGwp: [
    {
      required: true,
      message: '请输入SF₆气体GWP值',
      trigger: ['submit', 'change']
    }
  ],
  nfGwp: [
    {
      required: true,
      message: '请输入NF₃气体GWP值',
      trigger: ['submit', 'change']
    }
  ]
};
